package com.hzqiuxm.tdddemo001.junit5demo.coverage;

/**
 * Copyright © 2021年 tdd-demo-001. All rights reserved.
 *
 * @author 临江仙 hzqiuxm@163.com
 * 覆盖率测试用
 * @date 2021/2/23 10:13
 */
public class Judge {

    public int judge(int a, int b) {
        int nReturn = 0;
        if (a < 10) {//  分支一
            nReturn += 1;
        }
        if (b < 10) {//  分支二
            nReturn += 10;
        }
        return nReturn;
    }
}
